
import { createRoot } from 'react-dom/client'
import './index.css'
import {RouterProvider} from 'react-router-dom'
//引入路由表
import routes from './router'

createRoot(document.getElementById('root')).render(
    // 渲染路由组件
    <RouterProvider router={routes}></RouterProvider>
)
